
package yf.mall.vo;

import yf.mall.entity.ShopEntity;
import yf.mall.entity.UserEntity;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class ShopVo {

    private ShopEntity shop;
    private UserEntity user;
    private BigDecimal nowPrice;
    private Integer nowOrderNum;
    private BigDecimal totalPrice;
    private BigDecimal totalIncome;
    private BigDecimal downIncome;
    private Integer totalOrderNum;

    public ShopVo() {
    }

    public ShopVo(ShopEntity shop, BigDecimal nowPrice, Integer nowOrderNum, BigDecimal totalPrice, BigDecimal totalIncome, BigDecimal downIncome, Integer totalOrderNum) {
        this.shop = shop;
        this.nowPrice = nowPrice;
        this.nowOrderNum = nowOrderNum;
        this.totalPrice = totalPrice;
        this.totalIncome = totalIncome;
        this.downIncome = downIncome;
        this.totalOrderNum = totalOrderNum;
    }
}

